package com.bwie.remort;

import com.bwie.common.domain.Prize;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("bwie-lotto")
public interface PrizeRemote {

    @GetMapping("/lotto/findAll")
    public Result<List<Prize>> findAll();
}
